6f75ca39123ed3e8d556bdd3d12b7cd1f31e821e,app/src/main/java/com/nononsenseapps/ui/NotificationItemHelper.java,NotificationItemHelper,setTime,#Context#Notification#Task#,87
Before Change
cal.add(Calendar.DAY_OF_YEAR, 1);
}
// Now set a reasonable time of day like 9 AM
cal.set(Calendar.HOUR_OF_DAY, 9);
cal.set(Calendar.MINUTE, 0);
// And set time on notification
After Change
cal.setTimeInMillis(mTask.due);
} else {
// Default to today, set time one hour from now
cal.add(Calendar.HOUR_OF_DAY, 1);
}
// And set time on notification